import request from '@/utils/request'

// 检验用户密码
export function verifyUser(data) {
  return request({
    url: '/verifyUser',
    method: 'post',
    data
  })
}

export function addUser(data) {
  return request({
    url: '/addUser',
    method: 'post',
    data
  })
}

export function getUser(data) {
  return request({
    url: '/getUser',
    method: 'post',
    data
  })
}

export function updateUser(data) {
  return request({
    url: '/updateUser',
    method: 'post',
    data
  })
}

export function modifyPassword(data) {
  return request({
    url: '/modifyPassword',
    method: 'post',
    data
  })
}